<template>
  <ConfigProvider :locale="getAntdLocale">
    <AppProvider>
      <RouterView />
    </AppProvider>
  </ConfigProvider>
</template>

<script lang="ts" setup>
  import { ConfigProvider } from 'ant-design-vue';
  import { AppProvider } from '/@/components/Application';
  import { useTitle } from '/@/hooks/web/useTitle';
  import { useLocale } from '/@/locales/useLocale';
  import axios from 'axios';
  // 解决日期时间国际化问题
  import 'dayjs/locale/zh-cn';

  // support Multi-language
  const { getAntdLocale } = useLocale();

  axios.defaults.timeout = 30000
  useTitle();
</script>
<style>
.jeecg-app-logo__title{
  margin-top: -4px;
}
.ant-form-item {
  margin-bottom: 14px !important;
}
</style>
